package llama.ctrl;

import llama.core.ChatModelLocator;
import llama.core.LoginSettings;

public class LoginSettingsCtrl implements IController{
	private LoginSettings loginSettings;
	
	@Override
	public void execute() {
		System.out.println("LoginSettingsCtrl");
		ChatModelLocator.getChatModel().saveLoginSettings(loginSettings);
	}
	
	public void setSettings(String email, String password, boolean autoLogin) {
		loginSettings = new LoginSettings(email, password, autoLogin);
	}

}
